﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Register.aspx.cs" Inherits="Token.Piker.Web.Register" EnableTheming ="false" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>注册</title>
    <link href="css/reset.css" rel="stylesheet" type="text/css" />
    <link href="css/register.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <div id="header">
        <div id="headerContent">
            <h1>注册成为Piker</h1>
            <div id="LoginArea">
                <a href="Login.aspx">登录</a>
            </div>
        </div>
    </div>
    <div id="content">
        <form id="regform" runat="server">
            <div id="sub_left">
                <div id="pic_holder">
                    <img alt="图片" src="images/reg_pic.jpg" />
                </div>
                <p>在理工，爱摄影？</p>
                <p>从皮壳开始！</p>
            </div>
            <div id="sub_right">
                <p>
                    <label for="txtUserName">
                        <strong>用户名：</strong></label>
                    <br />
                    <asp:TextBox ID="txtUserName" runat="server" Width="200" Height="25" CssClass ="textbox_border"></asp:TextBox>
                    <br />
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="用户名不能为空"
                        ControlToValidate="txtUserName"></asp:RequiredFieldValidator>
                </p>
                <p>
                    <label for="txtPassword">
                        <strong>密码：</strong></label>
                    <br />
                    <asp:TextBox ID="txtPassword" runat="server" Width="200" Height="25"  CssClass ="textbox_border"
                        TextMode="Password"></asp:TextBox>
                    <br />
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="密码不能为空"
                        ControlToValidate="txtPassword"></asp:RequiredFieldValidator>
                </p>
                <p>
                    <label for="txtPasswordEnsure">
                        <strong>确认密码：</strong></label>
                    <br />
                    <asp:TextBox ID="txtPasswordEnsure" runat="server" Width="200" CssClass ="textbox_border"
                        TextMode="Password" Height="25"></asp:TextBox>
                    <br />
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ErrorMessage="密码不能为空"
                        ControlToValidate="txtPasswordEnsure" Display="Dynamic"></asp:RequiredFieldValidator>
                    <br />
                    <asp:CompareValidator ID="CompareValidator1" runat="server" ErrorMessage="两次输入的密码不一致"
                        ControlToCompare="txtPassword" ControlToValidate="txtPasswordEnsure"></asp:CompareValidator>
                </p>
                <p>
                    <label for="txtValidateCode">
                        <strong>验证码:</strong></label>
                    <br />
                    <img id="Img" runat="server" src="ValidateCode.aspx" mce_src="ValidateCode.aspx"
                        alt="验证码" style="cursor: pointer; float: left; margin-right: 16px;" onclick="this.src=this.src+'?'" title="看不清？换一张" />
                    <asp:TextBox ID="txtValidateCode" runat="server" Width="100" Height="40" CssClass ="textbox_border"></asp:TextBox>
                    <br />
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator9" runat="server" ErrorMessage="*验证码不能为空"
                        ControlToValidate="txtValidateCode"></asp:RequiredFieldValidator>
                </p>
                <p>
                    <asp:Button ID="btnReg" runat="server" Text="注册" Width="200" Height="40" Font-Bold="true" OnClick="btnReg_Click" />
                </p>
            </div>
        </form>
    </div>
    <div id="footer">
        <p>Copyright<span style ="font-family:Arial;">&copy;</span>2012 武汉理工大学经纬网 All Rights Reserved.</p>
        <p>Powered By Token Team.</p>
    </div>
</body>
</html>
